package com.xxx.system.service.impl;

import com.xxx.system.domain.Permission;
import com.xxx.system.mapper.PermissionMapper;
import com.xxx.system.service.IPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl implements IPermissionService {
    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public List<Permission> findAll() {
        return permissionMapper.findAll();
    }

}
